Optimal. Leaf size=3 \[ \sinh ^{-1}(\tan (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 3, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {3657, 4122, 215} \[ \sinh ^{-1}(\tan (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 215
Rule 3657
Rule 4122
Rubi steps
\begin {align*} \int \sqrt {1+\tan ^2(x)} \, dx &=\int \sqrt {\sec ^2(x)} \, dx\\ &=\operatorname {Subst}\left (\int \frac {1}{\sqrt {1+x^2}} \, dx,x,\tan (x)\right )\\ &=\sinh ^{-1}(\tan (x))\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.01, size = 44, normalized size = 14.67 \[ \cos (x) \sqrt {\sec ^2(x)} \left (\log \left (\sin \left (\frac {x}{2}\right )+\cos \left (\frac {x}{2}\right )\right )-\log \left (\cos \left (\frac {x}{2}\right )-\sin \left (\frac {x}{2}\right )\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.41, size = 60, normalized size = 20.00 \[ \frac {1}{2} \, \log \left (\frac {\tan \relax (x)^{2} + \sqrt {\tan \relax (x)^{2} + 1} \tan \relax (x) + 1}{\tan \relax (x)^{2} + 1}\right ) - \frac {1}{2} \, \log \left (\frac {\tan \relax (x)^{2} - \sqrt {\tan \relax (x)^{2} + 1} \tan \relax (x) + 1}{\tan \relax (x)^{2} + 1}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.39, size = 16, normalized size = 5.33 \[ -\log \left (\sqrt {\tan \relax (x)^{2} + 1} - \tan \relax (x)\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.14, size = 4, normalized size = 1.33 \[ \arcsinh \left (\tan \relax (x )\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.75, size = 3, normalized size = 1.00 \[ \operatorname {arsinh}\left (\tan \relax (x)\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 3, normalized size = 1.00 \[ \mathrm {asinh}\left (\mathrm {tan}\relax (x)\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {\tan ^{2}{\relax (x )} + 1}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________